//
//  HAScrollLabel.m
//  仿网易新闻滚动列表
//
//  Created by haha on 15/3/19.
//  Copyright (c) 2015年 haha. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface UIView (Extension)
@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat centerX;
@property (nonatomic, assign) CGFloat centerY;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;
@property (nonatomic, assign) CGSize  size;

//设置空心布局
-(void)setViewRadius:(CGFloat )radius
             BorderW:(CGFloat )borderW
               Color:(UIColor *)color;


@end


@interface UIImageView (Extension)

-(NSURL *)setImageWithURL:(NSString *)url
           placeHolder:(UIImage *)img;

-(NSURL *)setImageWithURLDefult:(NSString *)url;
@end
